<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>weiboDemo</title>
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.5.2.min.js">
	
</script>
<script type="text/javascript">
	$(function() {
		$("#btn").click(function() {
			var a = $("#a").val();
			var b = $("#b").val();
			var thisHost = "http://"+document.domain;
			var url = thisHost+"__URL__/draw?say1=" + a + "&say2=" + b;
			$("#img").attr("src", url);
			$("#pic").val(url);
		});
	});
</script>
</head>
<body>
<h2>{$me ['name'] }你好~</h2>
<h2>发送图片微博</h2>
<form action="__APP__/demo/index" method="post"><input id="a"
	type="text" value="比尔盖茨说" />
<p />
<input id="b" type="text" value="乔布什说" />
<p />
<input type="hidden" name="text" value="我正在测试自己的weibo-app:http://lt.tvmining.com/wbapp" />
<input id="pic" type="hidden" name="pic" value="" /> <input
	type="submit" value="分享" /></form>
<button id="btn">预览</button>
<div id="imgdiv"><img id="img" src="__PUBLIC__/images/vs.jpg" /></div>
</body>
</html>